package net.maku.module.organization.convert;

import net.maku.module.organization.entity.RoleEntity;
import net.maku.module.organization.vo.RoleVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_角色
*
* @author    
*/
@Mapper
public interface RoleConvert {
    RoleConvert INSTANCE = Mappers.getMapper(RoleConvert.class);

    RoleEntity convert(RoleVO vo);

    RoleVO convert(RoleEntity entity);

    List<RoleVO> convertList(List<RoleEntity> list);

}